package org.scs.carleton.ca.pgdt.core.ui.internal.highlighting;

import org.eclipse.swt.graphics.RGB;

/**
 * A specific highlighting
 * 
 * @author tessierj
 *
 */
public class PrologHighlighting {
	private boolean boldByDefault, italicByDefault, strikethroughByDefault, underlineByDefault;
	private RGB color;
	
	public PrologHighlighting(RGB color, boolean boldByDefault, boolean italicByDefault, boolean strikethroughByDefault, boolean underlineByDefault) {
		this.color = color;
		this.boldByDefault = boldByDefault;
		this.italicByDefault = italicByDefault;
		this.strikethroughByDefault = strikethroughByDefault;
		this.underlineByDefault = underlineByDefault;
	}

	public boolean isBoldByDefault() {
		return boldByDefault;
	}

	public boolean isItalicByDefault() {
		return italicByDefault;
	}

	public boolean isStrikethroughByDefault() {
		return strikethroughByDefault;
	}

	public boolean isUnderlineByDefault() {
		return underlineByDefault;
	}
	
	public RGB getColor() {
		return color;
	}
}
